#ifndef CHIPSINFO_H
#define CHIPSINFO_H
#include <QtCore>

class ChipsInfo
{
    Q_ENUMS(ChipGenerations)
    Q_ENUMS(Designer)

public:
    enum ChipGenerations {CG_Pak3 = 0, CG_Pak4 = 1};
    enum Designer { D_GPakDesigner3 = 0, D_GPakDesigner4 = 1 };

public:
    ChipsInfo();

    static const int Gpak3GenerationChipsCount = 8;
    static const int Gpak4GenerationChipsCount = 5;

    static QString revisionToStr(ChipGenerations generation, int revision);

    static QList<QPair<QString, int> > revisionsList(ChipGenerations generation);

private:
    static QString revisionToStrGpd3(int revision);
    static QString revisionToStrGpd4(int revision);
};

#endif // CHIPSINFO_H
